x86/gnttab: fix asm() operand in gnttab_clear_flag()
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Mar 2012 07:39:39 +0000 (08:39 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Mar 2012 07:39:39 +0000 (08:39 +0100)
commit43dd3ea3a67b8cfe6d4517ece1a8d033f18bf63d
tree4a9d20b30b88dd95856065b6428fad997203b61f
parentdeb5ed4250e82530b396a42d0e7e60af84d64b06
x86/gnttab: fix asm() operand in gnttab_clear_flag()

The operand needs to use the 'w' modifier in case the compiler happens
to pick a register (which apparently it does for no-one but the
reporter of this problem).

Reported-by: Lin Ming <mlin@ss.pku.edu.cn>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/asm-x86/grant_table.h